# 测试
luo_en = {'name': '罗恩', 'num': [1, 2, 3]}
ha_li = {'name': '罗恩', 'num': [1, 3]}

print(sum(luo_en['num']))

filename = 'C:/Users/yangjianzhang/Desktop/points.txt'
with open(filename, 'w') as file_object:
    file_object.write(luo_en['name'])
    file_object.write(" ")
    file_object.write(str(sum(luo_en['num'])))
